﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_MaterialPrice
    /// </summary>
    [Table("PB_MaterialPrice")]
    public partial class PB_MaterialPrice
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public String Materialid { get; set; }

        /// <summary>
        /// 工序id
        /// </summary>
        public String ProcecureSubid { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public double? UnitPrice { get; set; }
        /// <summary>
        /// 组织
        /// </summary>
        public String Deptid { get; set; }

        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? WorkDate { get; set; }
        /// <summary>
        /// 计价方式
        /// </summary>
        public Boolean? PricingMethod { get; set; }
    }
}